define("gallery/import-style/1.0.0/index", [], function(e, t, n) {
    function l(e, t) {
        if (!t || (t = t.replace(d, "-"),
            !m.getElementById(t))) {
            var n;
            if (!a || t ? (n = m.createElement("style"),
            t && (n.id = t),
                i.appendChild(n)) : n = a,
                n.styleSheet) {
                if (m.getElementsByTagName("style").length > 31)
                    throw new Error("Exceed the maximal count of style tags in IE");
                n.styleSheet.cssText += e
            } else
                n.appendChild(m.createTextNode(e));
            t || (a = n)
        }
    }
    var a, d = /\W/g, m = document, i = document.getElementsByTagName("head")[0] || document.documentElement;
    n.exports = l
});
